/// @Classname : HcButtonPanel
/// @Author :
/// @Time : 2024-03-12 14:42
/// @Description : //todo

import 'package:flutter/material.dart';
import 'package:hc_ui/widget/grid/hc_grid.dart';

class HcButtonPanel extends StatelessWidget {
  //主按钮文字
  final String mainButtonText;

  //主按钮的回调
  final VoidCallback? mainButtonOnTap;

  //是否禁用
  final bool mainButtonDisabled;

  //次级按钮的列表
  final List<String>? secondaryButtonList;

  //次级按钮的回调
  final Function(int index)? secondaryOnTap;

  //按钮间的间距
  final double buttonSpacing;

  //按钮的方向
  final Axis decoration;

  //是否翻转
  final bool reverse;

  const HcButtonPanel(
      {super.key,
      required this.mainButtonText,
      this.mainButtonOnTap,
      this.secondaryButtonList,
      this.secondaryOnTap,
      this.buttonSpacing = 8,
      this.mainButtonDisabled = false,
      this.decoration = Axis.horizontal,
      this.reverse = false});

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
